You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Vector Structure > Vector Methods > Vector.Hilbert Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Vector.Hilbert Method

The fast hilbert transform (FFT based).

Syntax
C#
Visual Basic
public TVec Hilbert([In] TVec Vec, THilbertMethod method);

The method forms the imaginary orthogonal part (90 degrees phase shifted version of the original) from the real series by using the fast hilbert transform (FFT based) and saves the complex result in the calling vector. No windowing is performed. Vec must be a real vector or an exception is raised. The Length and Complex properties of the calling vector are set implicitly to match Vec vector.

var a,b,Re,Im: Vector; azero: double; begin a.SetIt(false,[1,2,3,4,5,6,7,8]); b.Hilbert(a); Re.RealPart(b); Im.ImagPart(b); azero := DotProd(Re,Im); // if Re is orthogonal to Im, azero becomes 0 end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!